package org.alys114.springcloud.eurekaclient.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author: Vincent.chan
 * @date: 2019/9/23 22:11
 * @version: v1.0
 * @Description: TODO<描述>
 */

@Controller
public class ClientController {
    @Value("${server.port}")
    private String port;

    @GetMapping("/msg")
    @ResponseBody
    public String msg(){
        return "I am Jack...." + port;
    }
}
